package com.prognos.web.controller;

import com.prognos.service.harvester.HarvesterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping(value = "/")
public class HomeController {

    private HarvesterService harvesterService;

    @Autowired
    public HomeController(HarvesterService harvesterService) {
        this.harvesterService = harvesterService;
    }

    @RequestMapping(method = RequestMethod.GET)
    public String home() {
        return "home";
    }
}
